package com.happy.zebra.im;

import com.shycloud.mido.common.security.annotation.EnableShyResourceServer;
import com.shycloud.mido.common.swagger.annotation.EnableShySwagger2;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableShySwagger2
@SpringCloudApplication
@EnableFeignClients(basePackages = {"com.happy.zebra", "com.shycloud.mido"})
@EnableShyResourceServer
@EnableScheduling
@MapperScan({"com.shycloud.mido.common.api.mapper", "com.shycloud.mido.member.mapper", "com.happy.zebra.im.mapper"})
public class ZebraIMApplication {
	public static void main(String[] args) {
		SpringApplication.run(ZebraIMApplication.class, args);
	}
}
